//
//  RKSubmitOrderView.m
//  runkang
//
//  Created by 张艳江 on 2018/9/4.
//  Copyright © 2018年 张艳江. All rights reserved.
//

#import "SCSubmitHeadView.h"

@implementation SCSubmitHeadView

+ (instancetype)headerView{
    return [[[NSBundle mainBundle]loadNibNamed:@"SCSubmitHeadView" owner:nil options:nil]lastObject];
}
- (void)setModel:(SCModel *)model{
    _model = model;
    self.nameLab.text = [NSString stringWithFormat:@"收件人：%@", model.name];
    self.phoneLab.text = model.phone;
    self.addressLab.text = [NSString stringWithFormat:@"收货地址：%@%@",model.adress,model.detail];
}

@end
